package com.gdou.mapper;

import com.gdou.dto.DeptDto;
import com.gdou.model.Dept;

import java.util.List;

public interface DeptMapper {
    List<Dept> selectAll();

    int selectDeptExists(Long deptId);

    int insertDepts(DeptDto deptDto);

    int deleteDept(Long id);

    int modifyDept(Dept dept);
}
